package com.ruoyi.system.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 交易中间对象 transaction_middle
 * 
 * @author ruoyi
 * @date 2025-01-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TransactionMiddle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 交易订单id */
    @Excel(name = "交易订单id")
    private Long transactionId;

    /** 支付订单id */
    @Excel(name = "支付订单id")
    private Long payOrderId;

    /** 交易类型 */
    @Excel(name = "交易类型")
    private Integer transactionType;
    private TransactionSource transactionSource;
    /** 删除 */
    private String del;

    public TransactionMiddle(Long transactionId, Long payOrderId, Integer transactionType, String del) {
        this.transactionId = transactionId;
        this.payOrderId = payOrderId;
        this.transactionType = transactionType;

        this.del = del;
    }


}
